<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    let checkData = [
        200, 300
    ]

    let dataArr = [
        {label: 'A100', value: 100, checked: false},
        {label: 'A200', value: 200, checked: false},
        {label: 'A300', value: 300, checked: false},
        {label: 'A400', value: 400, checked: false},
    ]

    checkData && checkData.forEach(id => {
        let  obj = dataArr.find(item =>
            item.value == id
        )
        console.log("obj:", obj)
        if (obj) {
            obj.checked = true
        }
    })
    console.log(dataArr)
</script>
</body>
</html>